﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Hue_Demo_PCL.Models
{
    public class AMSHueLight
    {
        public AMSHueLight(){}

        public int Id {get; set;}

        #region Index Property (int)
        private int _index;
        [JsonProperty("index")]
        public int Index
        {
            get { return _index; }
            set { _index = value; }
        }
        #endregion

        #region IsOn Property (bool)
        private bool _isOn;
        [JsonProperty("ison")]
        public bool IsOn
        {
            get { return _isOn; }
            set { _isOn = value; }
        }
        #endregion

        #region Hue Property (int)
        private int _hue;
        [JsonProperty("hue")]
        public int Hue
        {
            get { return _hue; }
            set { _hue = value; }
        }
        #endregion

        #region Saturation Property (int)
        private int saturation;
        [JsonProperty("sat")]
        public int Saturation
        {
            get { return saturation; }
            set { saturation = value; }
        }
        #endregion

        #region Brightness Property (int)
        private int _brightness;
        [JsonProperty("brightness")]
        public int Brightness
        {
            get { return _brightness; }
            set { _brightness = value; }
        }
        #endregion

        #region Red Property (int)
        private int _red;
        [JsonProperty("red")]
        public int Red
        {
            get { return _red; }
            set { _red = value; }
        }
        #endregion

        #region Green Property (int)
        private int _green;
        [JsonProperty("green")]
        public int Green
        {
            get { return _green; }
            set { _green = value; }
        }
        #endregion

        #region Blue Property (int)
        private int _blue;
        [JsonProperty("blue")]
        public int Blue
        {
            get { return _blue; }
            set { _blue = value; }
        }
        #endregion

        
    }
}
